﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using BattleThis.Mvc;

namespace BattleThis.Controllers
{
	public class WidgetController : InGameControllerAbstract
    {
        //
        // GET: /Widget/

		#region Variablen

		public const string IndexAction = "Index";
		public static readonly ReflectedControllerDescriptor Info = new ReflectedControllerDescriptor( typeof( WidgetController ) );

		#endregion

		#region Properties
		#endregion

		#region Methoden
		#endregion

		[ActionName(IndexAction)]
        public ActionResult Index()
        {
            return View(this.Widgets.OrderBy(x=> x.Order).ToArray());
        }

    }
}
